package wqh.domain;


public class ChannelData {

    private Integer id;
    private String ip;
    private Float ch_0;
    private Float ch_1;
    private Float ch_2;
    private Float ch_3;
    private Integer unix_time;

    public ChannelData()
    {

    }

    public ChannelData(String ip, float ch_0, float ch_1, float ch_2, float ch_3, int unix_time)
    {
        this.id = null;
        this.ip = ip;
        this.ch_0 = ch_0;
        this.ch_1 = ch_1;
        this.ch_2 = ch_2;
        this.ch_3 = ch_3;
        this.unix_time = unix_time;
    }

    @Override
    public String toString() {
        return "ChannelData{" +
                "id=" + id +
                ", ip='" + ip + '\'' +
                ", ch_0=" + ch_0 +
                ", ch_1=" + ch_1 +
                ", ch_2=" + ch_2 +
                ", ch_3=" + ch_3 +
                ", unix_time=" + unix_time +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Float getCh_0() {
        return ch_0;
    }

    public void setCh_0(Float ch_0) {
        this.ch_0 = ch_0;
    }

    public Float getCh_1() {
        return ch_1;
    }

    public void setCh_1(Float ch_1) {
        this.ch_1 = ch_1;
    }

    public Float getCh_2() {
        return ch_2;
    }

    public void setCh_2(Float ch_2) {
        this.ch_2 = ch_2;
    }

    public Float getCh_3() {
        return ch_3;
    }

    public void setCh_3(Float ch_3) {
        this.ch_3 = ch_3;
    }

    public Integer getUnix_time() {
        return unix_time;
    }

    public void setUnix_time(Integer unix_time) {
        this.unix_time = unix_time;
    }
}
